package com.miplus.ccrm.uploadjob.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Slf4j
@Component
public class JInitService implements CommandLineRunner {
    @Resource
    private JCheckTimer checkTimer;

    @Override
    public void run(String... args){
        log.info("JInitService.run：",args);
        checkTimer.InitTimer();
    }
}
